package com.axonactive.training.service;

import javax.ejb.Stateless;
import javax.inject.Inject;

import com.axonactive.training.dao.BalanceDao;
import com.axonactive.training.model.Balance;

@Stateless
public class BalanceService {
	@Inject
	BalanceDao balanceDao;
	
	public void saveBalance(Balance balance) {
		balanceDao.saveBalance(balance);
	}
	
	public Balance getBalance() {
		return balanceDao.getBalance();
	}
	
}
